package com.ks.domain;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author liu Weidong
 * @Email:
 * @Date: 2024/3/27 16:14
 * @Version 1.0
 */
@Component
public class PersonCompoent {

    @Bean("person")
    public Person getPerson(){
        return new Person();
    }

    @Bean("person")
    public Person getPerson2(){
        return new Person();
    }

}
